#import <UIKit/UIKit.h>
/**
 *  使frame的属性可以直接赋值
 */
@interface UIView (Frame)

@property (nonatomic, assign) CGFloat x;
@property (nonatomic, assign) CGFloat y;
@property (nonatomic, assign) CGFloat centerX;
@property (nonatomic, assign) CGFloat centerY;
@property (nonatomic, assign) CGFloat width;
@property (nonatomic, assign) CGFloat height;
@property (nonatomic, assign) CGPoint origin;
@property (nonatomic, assign) CGSize size;

/**
 *  绘制圆角
 *
 *  @param cornerRadius 弧度半径
 */
- (void)makeCircularAngle:(CGFloat)cornerRadius;
@end
